home *** CD-ROM | disk | FTP | other *** search
/ JCSM Shareware Collection 1995 September / JCSM Shareware Collection (September 30th 1995 Author to Vendor Edition) (JCS Distribution).ISO / business / 11420i01.ziv / INSTALL.BAT next >
DOS Batch File  |  1994-03-18  |  3KB  |  102 lines

  1. echo off
  2. cls
  3. if %2x==x goto NODRIVE
  4. echo All disk drive designations must end with colons. For instance, drive C is
  5. echo designated as "C:", not "C". Make absolutely sure that you have designated
  6. echo your hard disk correctly.
  7. echo .
  8. echo If your hard disk is not "%2", then press Control-C to abort; otherwise,
  9. pause
  10. echo off
  11. cls
  12. echo Installing TickleX onto your hard disk requires 2MB of free disk space.
  13. echo If you're not SURE that much is free, press Control-C to abort; otherwise,
  14. pause
  15. echo off
  16. cls
  17. %2
  18. cd\
  19. md MANAGEX
  20. cls
  21. cd\MANAGEX
  22. if not exist M-JOURN.LBF goto SKIPBACK
  23. echo If you're a registered user, please ensure that you have a reliable backup
  24. echo of your current TickleX data.    You should keep this backup indefinitely.
  25. echo If you don't have such a backup, press Control-C and make it; otherwise,
  26. pause
  27. :SKIPBACK
  28. if exist ticklex.com erase ticklex.com
  29. if exist editx.com erase editx.com
  30. cls
  31. if exist upgrd.exe erase upgrd.exe
  32. copy %1*.*
  33. if exist t7.hlp erase t?.hlp
  34. cls
  35. echo just a minute...
  36. if exist lb-rate.dat rename lb-*.dat lb-*.lbf
  37. if exist m-group.dat rename m-gr*.dat m-gr*.lbf
  38. if exist recur.dat rename r*.dat r*.lbf
  39. if exist recoff.daf rename recoff.daf recoff.lbf
  40. if exist incexpns.dat rename incexpns.dat incexpns.lbf
  41. if exist printdoc.bat erase printdoc.bat
  42. if exist export.exe erase export.exe
  43. if exist manual erase manual.*
  44. if exist help erase help.*
  45. if exist messages erase messages.*
  46. if exist blankcal erase blank*
  47. if exist jwtype.lbf erase jw*.*
  48. if exist alarm.dat erase alar*.da*
  49. if exist ticklex.exe erase ticklex.*
  50. if exist sample.lbt erase sample*.??t
  51. if exist printers.lbf erase printers.lbf
  52. if exist pc-beep.exe erase pc-beep.exe
  53. if exist m--journ.lbf rename tx.bat txold.bat
  54. cls
  55. if not exist m-journ.lbf goto EXTRACT
  56. echo                              VERY IMPORTANT
  57. echo .
  58. echo .
  59. echo Now,  some program files will be extracted from an archive.   Before each
  60. echo file is extracted,  a check will be made to see whether a similarly named
  61. echo one already exists on your hard disk.  If so, you'll be asked whether you
  62. echo wish to overwrite it with a new copy.
  63. echo .
  64. echo              ALWAYS ANSWER "NO" (BY PRESSSING THE "N" KEY).
  65. echo .
  66. echo .
  67. pause
  68. cls
  69. :EXTRACT
  70. tklx
  71. erase tklx.exe
  72. ticklex u %2 ~2
  73. ticklex i ~2
  74. ticklex t all
  75. if exist jwread.txt ticklex t jwread
  76. rem if exist manual.idx erase m*.txt
  77. rem if exist upgrd.exe ticklex w
  78. cls
  79. if exist 1sttime.fyl erase 1sttime.fyl
  80. if exist m-journ.lbf goto NOTFIRST
  81. ticklex p
  82. ticklex w
  83. ticklex m
  84. :NOTFIRST
  85. cls
  86. echo      To use TickleX, go to the MANAGEX directory on drive %2 and enter
  87. echo "TX xxx" (where xxx are your initials).  For example, if your initials
  88. echo were ABC, you would enter "TX ABC" (without the quotes) to use TickleX.
  89. echo .
  90. echo .
  91. pause
  92. goto END
  93. :NODRIVE
  94. cls
  95. echo .
  96. echo      You must designate BOTH the SOURCE diskette and the HARD disk
  97. echo .
  98. echo example:  B:INSTALL B: C:   will install TICKLEX from drive B to drive C:
  99. echo .
  100. echo            PLEASE TRY AGAIN
  101. :END
  102.